package com.zsoft.domain;

import java.util.Date;

/**
 * 帖子表
 * @author zuoshuaiok@gmail.com
 * local-search
 * 2013-4-9
 */
public class TopicDomain {

	private Long id;
	private Long userId;
	/**
	 * 标题和简介会添入索引
	 */
	// 标题
	private String title;
	// 简介
	private String summary;
	// 内容
	private String content;
	// 类型
	private Integer type;

	private Date gmtCreate;
	private Date gmtUpdate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtUpdate() {
		return gmtUpdate;
	}

	public void setGmtUpdate(Date gmtUpdate) {
		this.gmtUpdate = gmtUpdate;
	}

}
